package com.yami.shop.admin.task;

import com.yami.shop.dao.UserMapper;
import com.yami.shop.service.VipPackageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 每天更新vip解锁次数
 */
@Component
public class vipUpdate {

    @Autowired
    private VipPackageService vipPackageService;

    public void vipUpdate(){
        vipPackageService.updateDailyUnlockCount();
    }

}
